package com.itgaoshu.service.impl;

import com.itgaoshu.bean.Baoque;
import com.itgaoshu.bean.Drugstore;
import com.itgaoshu.bean.Pharmacy;
import com.itgaoshu.mapper.OutStoreMapper;
import com.itgaoshu.service.OutStoreService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * \* @author: 李豪杰
 * \* Date: 2021/3/22
 * \* Time: 19:50
 * \* Description:
 * \
 */
@Service
@Transactional
public class OutStoreServiceImpl implements OutStoreService {
    @Resource
    private OutStoreMapper osm;
    @Override
    public List<Baoque> selbaoquedan(Baoque baoque) {
        return osm.selbaoquedan(baoque);
    }

    @Override
    public List<Drugstore> selbaoquedrugname(Drugstore drugstore) {
        return osm.selbaoquedrugname(drugstore);
    }

    @Override
    public int updatedrugnumber(Drugstore drugstore) {
        return osm.updatedrugnumber(drugstore);
    }

    @Override
    public int upbaoquenumber(Drugstore drugstore) {
        return osm.upbaoquenumber(drugstore);
    }

    @Override
    public int uppharmacynumber(Drugstore drugstore) {
        return osm.uppharmacynumber(drugstore);
    }

    @Override
    public int seldrugnamenum(Drugstore drugstore) {
        return osm.seldrugnamenum(drugstore);
    }

    @Override
    public int deldrugnamenum(Drugstore drugstore) {
        return osm.deldrugnamenum(drugstore);
    }

    @Override
    public int selbaoquenamenum(Drugstore drugstore) {
        return osm.selbaoquenamenum(drugstore) ;
    }

    @Override
    public int delbaoquenamenum() {
        return osm.delbaoquenamenum();
    }

    @Override
    public int addpharmacy(Pharmacy pharmacy) {
        return osm.addpharmacy(pharmacy);
    }

    @Override
    public int selpharymacyname(Pharmacy pharmacy) {
        return osm.selpharymacyname(pharmacy);
    }

    @Override
    public int uppharymacy(Pharmacy pharmacy) {
        return osm.uppharymacy(pharmacy);
    }

    @Override
    public int selbaoquecount() {
        return osm.selbaoquecount();
    }

    @Override
    public int selbaoqueName(Pharmacy pharmacy) {
        return osm.selbaoqueName(pharmacy);
    }

    @Override
    public int upbaoquenumber1(Pharmacy pharmacy) {
        return osm.upbaoquenumber1(pharmacy);
    }

}
